<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://primefaces.org/ui">

    <h:head>
        <title>SAP - Sistema de Acompanhamento de Processos</title>

        <meta content='text/html; charset=UTF-8' http-equiv="Content-Type"/>

        <link type="text/css" rel="stylesheet" href="#{request.contextPath}/css/default.css" />
        <link type="text/css" rel="stylesheet" href="#{request.contextPath}/themes/black-tie/skin.css" />
        <link type="text/css" rel="stylesheet" href="#{request.contextPath}/syntaxhighlighter/styles/syntaxhighlighter.css" />
        

        <script type="text/javascript" src="#{request.contextPath}/js/padrao.js"></script>

    </h:head>
    <h:body>
        <h:form>
            <h1 class="title ui-widget-header ui-corner-all">Erro de Rede ...</h1>
            <p:dialog header="Area restrita"
                      modal="true"
                      closable="false"
                      position="center"
                      widgetVar="modalLogin"
                      minWidth="300"
                      showEffect="slide" 
                      draggable="false"
                      resizable="false"
                      visible="true"
                      width="500">		 

                <center>	 
                    <p:messages id="mensagens" showDetail="true" showSummary="false" />    				 

                    <h:panelGrid columns="1">   		
                        <h:outputLabel value="Erro Inexperado de Rede - Clique para Entrar no Sistema Novamente" style="font-weight:bold;" />
                    </h:panelGrid>

                    <br />	

                    <p:commandButton icon="ui-icon-home" type="submit" id="login" action="#{loginBean.loginInicio2}" value="Entrar" update="mensagens" />		

                </center>

            </p:dialog>
        </h:form>
    </h:body>
</html>